﻿using UnityEngine;
using System.Collections;

public class HandleRessource : MonoBehaviour 
{
    public static int _totalRessource = 3;
	// Use this for initialization
	void Start ()
    {
	
	}
	
	// Update is called once per frame
	void Update () 
    {
	
	}

    void OnGUI()
    {
        GUI.color = Color.red;
        GUI.Label(new Rect(Screen.width/2, 10, 300, 20), _totalRessource.ToString());
    }
}
